<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="verydows-baseurl" content="<{$common.baseurl}>">
<meta name="keywords" content="<{$GLOBALS.cfg.home_keywords}>" />
<meta name="description" content="<{$GLOBALS.cfg.home_description}>" />
<title><{$GLOBALS.cfg.home_title}></title>
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/css/general.css" />
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/css/index.css" />
<script type="text/javascript" src="<{$common.baseurl}>/public/script/jquery.js"></script>
<script type="text/javascript" src="<{$common.theme}>/js/general.js"></script>
<script type="text/javascript" src="<{$common.theme}>/js/carousel.js"></script>
</head>
<body>
<!-- 顶部开始 -->
<{layout_topper common=$common}>
<!-- 顶部结束 -->
<!-- 头部开始 -->
<div class="header mt30">
  <div class="w1100">
    <!-- 头部主体开始 -->
    <div class="module cut">
      <div class="logo fl"><a href="<{url c='main' a='index'}>"><img alt="<{$GLOBALS.cfg.site_name}>" src="<{$common.theme}>/images/logo.gif" border="0" /></a></div>
      <!-- 头部搜索开始 -->
      <div class="top-search fl">
        <form method="get" action="<{url c='search' a='index'}>">
          <{if $GLOBALS['cfg']['rewrite_enable'] == 0}><input type="hidden" name="c" value="search" /><input type="hidden" name="a" value="index" /><{/if}>
          <div class="sf cut">
            <input class="fl" name="kw" type="text" value="<{if isset($u.kw)}><{$u.kw}><{/if}>" placeholder="双11提前购，畅想全年最低价" />
            <button class="fr" type="submit">搜 索</button>
          </div>
        </form>
        <{if !empty($hot_searches)}>
        <div class="hw mt8">热门搜索：<{foreach $hot_searches as $v}><a href="<{url c='search' a='index' kw=$v}>"><{$v}></a><{/foreach}></div>
        <{/if}>
      </div>
      <!-- 头部搜索结束 -->
      <!-- 头部购物车开始 -->
      <div class="top-cart fr">
        <div class="radius4 mt10"><i class="icon"></i><a href="<{url c='cart' a='index'}>" id="cartbar"><font>我的购物车</font>(<b>0</b>)</a></div>
      </div>
      <!-- 头部购物车结束 -->
    </div>
    <!-- 头部主体结束 -->
    <div class="module mt20">
      <!-- 导航开始 -->
      <div class="nav cut">
        <div class="cateth w210 fl"><h2>商品分类</h2></div>
        <div class="cross cut">
          <ul>
            <li><a href="<{$common.baseurl}>">首页</a></li>
            <{if !empty($nav.main)}>
            <{foreach $nav.main as $v}>
            <li><a href="<{$v.link}>"<{$v.target}>><{$v.name}></a></li>
            <{/foreach}>
            <{/if}>
          </ul>
        </div>
      </div>
      <!-- 导航结束 -->
    </div>
  </div>
</div>
<!-- 头部结束 -->
<!-- 主体开始 -->
<div class="container w1100">
  <div class="module cut">
    <!-- 商品分类开始 -->
    <div class="catebar w210 fl"><{layout_catebar}></div>
    <!-- 商品分类结束 -->
    <!-- 轮播图片广告开始 -->
    <div class="w640 fl cut"><{layout_adv id='1'}></div>
    <!-- 轮播图片广告结束 -->
    <!-- 资讯开始 -->
    <div class="w240 fr cut">
      <div class="news mt10">
        <h2><a href="<{url c='article' a='index'}>" class="fr">更多 <i>&gt;</i></a>最新资讯</h2>
        <{if !empty($latest_article)}>
        <ul>
          <{foreach $latest_article as $v}>
          <li><a title="<{$v.title}>" href="<{url c='article' a='view' id=$v.id}>"><b>[<{$v.cate_name}>]</b><{$v.title}></a></li>
          <{/foreach}>
        </ul>
        <{/if}>
      </div>
      <!-- 广告位(240x70)开始 -->
      <div class="module mt10"><{layout_adv id='2'}></div>
      <!-- 广告位(240x70)结束 -->
    </div>
    <!-- 资讯结束 -->
  </div>
  <!-- 新品上市开始 -->
  <div class="module mt30 cut">
    <div class="gli_t"><h2 class="fl">新品上市</h2></div>
    <div class="gli w1110">
      <{if !empty($newarrival)}>
      <ul>
        <{foreach $newarrival as $v}>
        <li>
          <div class="im"><a href="<{url c='goods' a='index' id=$v.goods_id}>"><img alt="<{$v.goods_name}>" src="<{$common.baseurl}>/upload/goods/prime/150x150/<{$v.goods_image}>" /></a></div>
          <h3><a href="<{url c='goods' a='index' id=$v.goods_id}>"><{truncate($v.goods_name, 40)}></a></h3>
          <p class="price"><i>¥</i> <{$v.now_price}></p>
        </li>
        <{/foreach}>
      </ul>
      <{/if}>
    </div>
  </div>
  <!-- 首页横幅Banner广告位一(1110x90)开始 -->
  <div class="module mt20 cut"><{layout_adv id='4'}></div>
  <!-- 首页横幅Banner广告位一(1110x90)结束 -->
  <!-- 新品上市结束 -->
  <!-- 推荐商品开始 -->
  <div class="cl"></div>
  <div class="module mt20 cut">
    <div class="gli_t">
      <h2>推荐商品</h2>
    </div>
    <div class="gli w1110">
      <{if !empty($recommend)}>
      <ul>
        <{foreach $recommend as $v}>
        <li>
          <div class="im"><a href="<{url c='goods' a='index' id=$v.goods_id}>"><img alt="<{$v.goods_name}>" src="<{$common.baseurl}>/upload/goods/prime/150x150/<{$v.goods_image}>" /></a></div>
          <h3><a href="<{url c='goods' a='index' id=$v.goods_id}>"><{truncate($v.goods_name, 40)}></a></h3>
          <p class="price"><i>¥</i> <{$v.now_price}></p>
        </li>
        <{/foreach}>
      </ul>
      <{/if}>
    </div>
  </div>
  <!-- 推荐商品结束 -->
  <!-- 首页横幅Banner广告位二(1110x100)开始 -->
  <div class="module mt20 cut"><{layout_adv id='5'}></div>
  <!-- 首页横幅Banner广告位二(1110x100)结束 -->
  <!-- 特价促销开始 -->
  <div class="cl"></div>
  <div class="module mt20 cut">
    <div class="gli_t">
      <h2>特价促销</h2>
    </div>
    <div class="gli w1110">
      <{if !empty($bargain)}>
      <ul>
        <{foreach $bargain as $v}>
        <li>
          <div class="im"><a href="<{url c='goods' a='index' id=$v.goods_id}>"><img alt="<{$v.goods_name}>" src="<{$common.baseurl}>/upload/goods/prime/150x150/<{$v.goods_image}>" /></a></div>
          <h3><a href="<{url c='goods' a='index' id=$v.goods_id}>"><{truncate($v.goods_name, 40)}></a></h3>
          <p class="price"><i>¥</i> <{$v.now_price}></p>
        </li>
        <{/foreach}>
      </ul>
      <{/if}>
    </div>
  </div>
  <!-- 特价促销结束 -->
  <!-- 首页横幅Banner广告位三(1110x80)开始 -->
  <div class="module mt20 cut"><{layout_adv id='6'}></div>
  <!-- 首页横幅Banner广告位三(1110x80)结束 -->
  <{layout_helper}>
</div>
<!-- 主体结束 -->
<div class="cl"></div>
<!-- 页脚开始 -->
<{layout_footer}>
<!-- 页脚结束 -->
<script type="text/javascript" src="<{$common.baseurl}>/public/script/juicer.js"></script>
</body>
</html>